<!--navbar-->
<div class="navbar">
    <div class="navbar-inner">
        <div class="left">
            <a href="{url:/yunsite/search}" class="link">
                <i class="icon icon-search"></i>
            </a>
        </div>
        <div class="center"><i class="logo"></i></div>
    </div>
</div>
<div class="pages">
    <div class="page no-navbar no-swipeback" data-page="mallIndex">
        <div class="page-content">
            <input type="hidden" name="share_title" value="云果优品" />
            <input type="hidden" name="share_desc" value="首页分享描述要改联系技术" />
            <input type="hidden" name="share_link" value="http://v1.yunguostore.com" />
            <input type="hidden" name="share_imgUrl" value="http://v1.yunguostore.com/favicon.ico" />

            {if:$this->index_slide}
            <!--S banner-->
            <div class="banner">
                <!-- Slider -->
                <div class="swiper-container swiper-init" data-speed="600" data-preload-images="false" data-lazy-Loading="true" data-autoplay="2000" data-loop="true" data-pagination=".page[data-page='mallIndex'] .swiper-pagination">
                    <div class="swiper-wrapper">
                        {foreach:items=$this->index_slide}
                        <div class="swiper-slide">
                            <a href="{$item['url']}"><img data-src="{$item['img']}?imageView2/4/w/414" class="swiper-lazy" /></a>
                            <div class="preloader"></div>
                        </div>
                        {/foreach}
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
            <!--E banner-->
            {/if}
            <!--S catalog-->
            <div class="catalog">
                <div class="row">
                    <a href="{url:/yunsite/pro_list/by/desc/cat/3/order/sale}" class="col-auto">
                        <img data-src="http://oaavnhqhs.bkt.clouddn.com/20161125123902751.jpg?imageView2/4/w/189"  class="lazy">
                    </a>

                    <a href="#" class="col-auto" id="speed_list_link">
                      <img data-src="http://oaavnhqhs.bkt.clouddn.com/20161125134842335.jpg?imageView2/4/w/189"  class="lazy">
                      <!--<img data-src="http://oaavnhqhs.bkt.clouddn.com/20161019163728142.jpg?imageView2/4/w/189"  class="lazy">-->
                    </a>
                </div>
            </div>
            <div class="module module-product-list">
                <div class="hd row">
                    <div class="title col-70"><h2>商城推荐</h2></div>
                    <div class="more col-30"></div>
                </div>
                <div class="bd list">
                    {foreach:items=$this->goods}
                    <a href="{url:/yunsite/products/id/$item[id]}" class="product col-50">
                        <figure>
                            <img data-src="{$item['ad_img']}?imageView2/4/w/189" class="lazy lazy-fadein">
                            <figcaption>
                                <h3>{$item['name']}</h3>
                                <div class="pro-bar row">
                                    <div class="price"><ins><small>&yen;</small>{$item['sell_price']}</ins></div>
                                    <!--<small>约4~5斤顺丰包邮</small>-->
                                </div>
                            </figcaption>
                        </figure>
                    </a>
                    {/foreach}
                </div>
            </div>
            <!--E catalog-->
            <!--S list-->
            {foreach:items=$this->categorys  item=$first }
            <div class="catalog">
                <div class="row">
                    <a href="#" class="col-auto">
                        <img data-src="{$first['ad_img']}?imageView2/4/w/390" class="lazy lazy-fadeIn">
                    </a>
                </div>
            </div>
			<div class="module module-product-list">
			    <div class="hd row">
			        <div class="title col-70"><h2>{$first['name']}</h2></div>
			        <div class="more col-30"><a href="{url:/yunsite/pro_list/cat/$first[id]/order/sale/by/desc}">查看更多</a></div>
			    </div>
			    <div class="bd list">
			        {foreach:items=$first['goods']}
			        <a href="{url:/yunsite/products/id/$item[id]}" class="product col-50">
			            <figure>
			                <img data-src="{$item['ad_img']}?imageView2/4/w/189" class="lazy lazy-fadeIn">
			                <figcaption>
			                    <h3>{$item['name']}</h3>
			                    <div class="pro-bar row">
			                        <div class="price"><ins><small>&yen;</small>{$item['sell_price']}</ins></div>
			                        <!--<small>约4~5斤顺丰包邮</small>-->
			                    </div>
			                </figcaption>
			            </figure>
			        </a>
			        {/foreach}
			    </div>
			</div>
			<!--<div class="catalog">
			    <div class="row">
			        <a href="mall/overseas.html" class="col-auto">
			            <img src="{$first['ad_img']}" alt="">
			        </a>
			    </div>
			</div>-->
            <!--E list-->
            <!--S catalog-->
            {/foreach}



        </div>
    </div>
</div>